{% extends "safe/safe_base.html" %}
{% block title %}修改默认密码{% endblock %}
{% block head %}
{{ super() }}
<!--<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-table.min.css') }}">-->
<!--<script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script>-->
<!--<script src="{{ url_for('static', filename='js/bootstrap-table.min.js') }}"></script>-->
<!--<script src="{{ url_for('static', filename='js/bootstrap-table-zh-CN.min.js') }}"></script>-->
<!--<script src="{{ url_for('static', filename='js/layer.min.js') }}"></script>-->
<style>
    .form-control {
        width: 30%;
    }

</style>

{% endblock %}

{% block page_content %}
<h1 class="page-header">修改默认密码</h1>
<label>当前默认密码: </label>
<p>
    {% if def_pass.default_password %}
        {{ def_pass.default_password }}
    {% else %}
        无。请设置密码。
    {% endif %}
</p>


<div>
    <form action="/safe/edit_password" method="post" class="form">
        <div class="form-group">
            <label>新密码修改: </label>
        <input name="password" class="form-control" type="password" placeholder="填写30位以下新密码" required>
        </div>
            <input type="hidden" id="xfrs" name="xfrs" value="{{ xfrs }}">
        <button type="submit" class="btn btn-primary">保存</button>
    </form>
</div>


{% endblock %}

{% block scripts %}
{{ super() }}
<script>


</script>
<script>
    nav = document.getElementById("nav_reset_password");
    nav.setAttribute("class", "active");
</script>
{% endblock %}
